﻿using AuthCenter.ErrorCode;
using MediatR;

namespace AuthCenter.Api.Write.Application.Command.Menu
{
    public class AddMenuCommand:IRequest<ApiResult<int>>
    {
        // <summary>
        /// 父级菜单Id
        /// </summary>
        public long PId { get; set; }
        /// <summary>
        /// 菜单名称
        /// </summary>
        public string ?MenuName { get; set; }
        /// <summary>
        /// 菜单要跳转的地址
        /// </summary>
        public string ?Url { get; set; }
    }
}
